import React from 'react'

 function Son({user,callBack}) {
    console.log('son');
    function changName(params) {
        callBack('张三')
    }
  return (
    <div>
      {user.name}
      <button onClick={changName}>changName</button>
    </div>
  )
}
export default React.memo(Son)